<div>
	<form [formGroup]="theForm" novalidate style="max-width:600px">
		<div class="ui-grid ui-grid-responsive ui-grid-pad ui-fluid">
			<div class="ui-grid-row">
				<div class="ui-grid-col-2">
					<label for="name">姓名 *</label></div>
				<div class="ui-grid-col-6"> <input type="text" class="form-control" formControlName="name" pInputText isNotNull>
				</div>
				<div class="ui-grid-col-4" [innerHTML]="theForm.controls.name | validators">
				</div>
			</div>

			<div class="ui-grid-row">
				<div class="ui-grid-col-2">
					<label for="IDCard">身份证</label>
				</div>
				<div class="ui-grid-col-6">
					<input type="text" class="form-control" formControlName="IDCard" pInputText isNotNull isFullWidth="11">
				</div>
				<div class="ui-grid-col-4" [innerHTML]="theForm.controls.IDCard | validators">
				</div>
			</div>

			<div class="ui-grid-row">
				<div class="ui-grid-col-2">
					<label for="birthday">出生日期</label>
				</div>
				<div class="ui-grid-col-6">
					<p-calendar formControlName="birthday" dateFormat="yy/mm/dd" [yearNavigator]="true" yearRange="1970:2020" isNotNull></p-calendar>
				</div>
				<div class="ui-grid-col-4" [innerHTML]="theForm.controls.birthday | validators">
				</div>
			</div>

			<div class="ui-grid-row">
				<div class="ui-grid-col-2">
					<label for="birthday">当前状态</label>
				</div>
				<div class="ui-grid-col-6">
					<p-radioButton name="status" value="1" formControlName="status" label="在职">在职</p-radioButton>
					<p-radioButton name="status" value="2" formControlName="status" label="离职">离职</p-radioButton>
				</div>
				<div class="ui-grid-col-4" [innerHTML]="theForm.controls.status | validators">
				</div>
			</div>


			<div class="ui-grid-row">
				<div class="ui-grid-col-2"></div>
				<div class="ui-grid-col-6">
					<button pButton label="保存" type="submit" [disabled]="!theForm.valid"></button>
				</div>
				<div class="ui-grid-col-4"></div>
			</div>
		</div>
	</form>
</div>